package com.ostrich.note.ui.note.viewmodel;


import com.ostrich.note.entity.BaseResponseEntity;
import com.ostrich.note.ui.note.entity.NoteEntity;
import com.ostrich.note.ui.note.repository.NoteRepository;

import java.util.List;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.ViewModel;

public class NoteSearchViewModel extends ViewModel {
    private NoteRepository mNoteRepository = new NoteRepository();

    public LiveData<BaseResponseEntity<List<NoteEntity>>> notepadSearchList(String keyword ){
        return mNoteRepository.notepadSearchList(keyword);
    }
}
